import request from "@/util/request";

/**
 * @description 在线学习tab列表
 * @param data
 * @returns {Promise}
 */
export function getLearnTabListApi(data) {
	return request({
		url: '/api/study/selectTypeList',
		method: 'GET',
		data
	})
}
/**
 * @description  在线学习列表
 * @param data
 * @returns {Promise}
 */
export function getLearnListApi(data) {
	return request({
		url: '/api/study/selectStudyList',
		method: 'GET',
		data
	})
}
/**
 * @description 在线学习详情
 * @param data
 * @returns {Promise}
 */
export function getLearnByIdApi(data) {
	return request({
		url: '/api/study/selectContentById',
		method: 'GET',
		data
	})
}